package com.wish.finance.mapper;

import com.wish.finance.entity.JrProduct;
import com.wish.finance.entity.JrSfLoan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 收房贷申请信息 Mapper 接口
 * </p>
 *
 * @author xiaocui
 * @since 2022-04-06
 */
@Repository
public interface JrSfLoanMapper extends BaseMapper<JrSfLoan> {

    @Select("select * from t_jr_product where jr_product_type =#{jrProductType} and  del_flg = 0")
    List<JrProduct> searchProduct(@Param("jrProductType") int i);
}
